package com.breakfast.fun.ui.mall;

import com.breakfast.fun.base.BaseModel;
import com.breakfast.fun.base.BasePresenter;
import com.breakfast.fun.base.BaseView;
import com.breakfast.fun.data.entity.mall.MallBanner;

import java.util.Map;

import retrofit2.http.FieldMap;
import rx.Observable;

/**
 * Created by yukai on 16/10/1.
 */

public interface ToolContract {
    interface Model extends BaseModel {
        Observable<MallBanner> getToolBannerModel(@FieldMap Map<String, String> map);
    }

    interface View extends BaseView {
        void showTool(MallBanner mallBanner);
    }

    abstract class Presenter extends BasePresenter<Model, View> {
        public abstract void getTool();
    }
}
